<!DOCTYPE html>
<script src="full-screen-test.js"></script>
<style>
.child { transform: translateZ(20px); }
</style>
<video></video>
<div class="child">Pass if there is no crash.</div>
<script>
var video = document.getElementsByTagName('video')[0];

document.onwebkitfullscreenchange = function(event) {
  testRunner.notifyDone();
};

runWithKeyDown(function(){ video.webkitRequestFullScreen() });
</script>
